package acm.pta4;

import java.util.Scanner;

public class T5 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        String res=b==0?"Error":String.format("%.2f",1.0*a/b);
        String bs=b<0?"("+b+")":b+"";
        System.out.println(a+"/"+bs+"="+res);
    }
}
